package com.demo10;

/**
 * Created by Administrator on 2017/4/14.
 */
public class Circulate {
    public static void main(String[] args) {
        int x = 0;
        int sum = 0;
        for (int i = 2; i <= 100; i += 2) {
            sum = sum + i;
        }
        System.out.println("2到100之间的所有偶数之和为: " + sum);
        for (; ; ) {
            System.out.println("你好");
            x++;
            if (x > 6){
                break;
            }
        }
    }
}
